# earth time.py
import time

curTime = time.time()
totalSeconds = int(curTime)
curSecond = totalSeconds % 60
totalMinutes = totalSeconds // 60
curMinute = totalMinutes % 60
totalHours = totalMinutes // 60
curHour = totalHours % 24
print("现在是格林尼治时间",curHour,"时",curMinute,"分",
      curSecond,"秒,","1970年1月1日零时到现在经过了",totalSeconds,"秒.")
